import request from '@/utils/request'

// 获取设备类型列表
export function getEquipmentTypes(data) {
    return request({
        url: '/api/System/EquipmentType',
        method: 'get',
        params: data
      })
}

// 添加设备类型
export function addEquipmentType(data) {
    return request({
        url: '/api/System/EquipmentType',
        method: 'post',
        params: data
    })
}

// 修改设备类型
export function updateEquipmentType(data) {
    return request({
        url: '/api/System/EquipmentType',
        method: 'put',
        params: data
    })
}

// 删除设备类型
export function deleteEquipmentType(data) {
    return request({
        url: '/api/System/EquipmentType',
        method: 'delete',
        params: data
    })
}